import Mock from 'mockjs'
import authMock from './modules/auth'
import userMock from './modules/user'
import roleMock from './modules/role'
import permissionMock from './modules/permission'
import menuMock from './modules/menu'

// 设置延迟时间
Mock.setup({
  timeout: '200-600'
})

// 注册各个模块的Mock接口
authMock()
userMock()
roleMock()
permissionMock()
menuMock()

console.log('Mock服务已启动') 